//
//  LoadingView.h
//  tyzenCoreData
//
//  Created by Nong Nghia on 4/17/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol LoadingViewDelegate <NSObject>

- (void)loadingViewDidStop;

@end

@interface LoadingView : UIView
{
    UIActivityIndicatorView *indicatorView;
    UIView *squareView;
    UILabel *textLabel;
    
    id<LoadingViewDelegate> delegate;
}

@property (nonatomic, assign) id<LoadingViewDelegate> delegate;

-(void)showLoadingView;

-(void)showInitLoadingView;

-(void)stopLoadingView;


@end
